package com.wang.tingge.data_object;

import lombok.Data;

@Data
//由于这里是数据库操作的，所以这里的属性名称和数据库字段名称一样
public class UserDO {
    public Integer uid;
    public String username;
    public String password;

    public UserDO(String username,String password){
        this.username=username;
        this.password=password;
    }

    public UserDO(int uid, String username, String password) {
        this.uid = uid;
        this.username = username;
        this.password = password;
    }
}
